﻿using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using Project.Model.EF6.Base;

namespace Project.Model.EF6.Entity
{
    [Table("T_SGM_XLW_PRODUCT")]
    public class Product : ModelBase
    {
        [Key]
        public int ID { get; set; }

        [StringLength(32)]
        [Column(TypeName = "varchar2")]
        public string PRODUC_SPE_ID { get; set; }

        [StringLength(50)]
        [Column(TypeName = "varchar2")]
        public string PRODUC_SPE { get; set; }

        [StringLength(32)]
        [Column(TypeName = "varchar2")]
        public string PRODUCT_ID { get; set; }

        [StringLength(100)]
        [Column(TypeName = "varchar2")]
        public string PRODUCT_NAME { get; set; }
        public int POINT { get; set; }

        [StringLength(300)]
        [Column(TypeName = "varchar2")]
        public string PRODUCT_DESC { get; set; }
        public string ROW_STATUS { get; set; }

        [StringLength(30)]
        [Column(TypeName = "varchar2")]
        public string ROW_CREATE_USER { get; set; }

        [StringLength(30)]
        [Column(TypeName = "varchar2")]
        public string ROW_UPDATE_USER { get; set; }

        [StringLength(300)]
        [Column(TypeName = "varchar2")]
        public string PRODUCT_IMG1 { get; set; }

        [StringLength(300)]
        [Column(TypeName = "varchar2")]
        public string PRODUCT_IMG2 { get; set; }

        [StringLength(300)]
        [Column(TypeName = "varchar2")]
        public string PRODUCT_IMG3 { get; set; }
        public int POINT_UPPER { get; set; }
        public int SCAN_CODE_COUNT { get; set; }
    }
}
